package encodingSimulation;

import java.io.File;
import java.util.ArrayList;
import java.util.BitSet;

public interface EncodingMethods {
	
//	public StringBuffer readFile(File fileName);
//	public ArrayList<byte[]> fragmentFile(String FileName);
//	public int[][] createGeneratorMatrix();
	final int CLUSTERSIZE=4096;
	final int MINFILESIZE=1024;
	final int FILESIZEFOROPTIMALFRAG=524288;
	final int WASTAGEVALUE=250;
	public void setParameters();
	public ArrayList<BitSet> createEncodedPackets(ArrayList<BitSet> sourceFragments, int[][] generatorMatrix);
	public int calculateFragmentSize();
//	public BitSet byteArrayToBitSet(byte[] input);

}
